//import java.util.*;
/*public class NewClass {
    public static void main(String[] args){
    Scanner reader=new Scanner(System.in);    
    System.out.println("请输入一位正整数：");
    int m=reader.nextInt();
    int a[][]=new int[m][3];
    for(int i=0;i<m;i++)
        for(int j=0;j<3;j++)
            a[i][j]=i+j;
    for(int i=0;i<m;i++){
        for(int j=0;j<3;j++)
            System.out.print(" "+a[i][j]);
        System.out.println(" ");
    }
    System.out.println("这个数组的长度是："+a.length);
    String s;
    System.out.println("请输入一些带括号的字符串：");
    s=reader.next();
    System.out.println("这些字符串是："+s);
    
    }
    
}*/
/*import java.util.*;
public class NewClass{
    public static void main(String[] args){
        Scanner reader=new Scanner(System.in);
        System.out.println("请输入一批字符串：");
        s=reader.next();
        String s;
        while(!s.equals("end")){
             System.out.println(" "+s);
             s=reader.next();
    }
    } 
}*/
/*import java.util.*;//杨辉三角
public class NewClass{
    public static void main(String[] args){
        int m1;
        Scanner reader=new Scanner(System.in);
        System.out.println("请输入任意一个大于3的数字：");
        m1=reader.nextInt();
        int a[][]=new int[m1][];
        for(int i=0;i<a.length;i++)
            a[i]=new int[i+1];
        for(int i=0;i<a.length;i++){
            a[i][0]=1;
            a[i][a[i].length-1]=1;
            for(int j=1;j<a[i].length-1;j++)
                a[i][j]=a[i-1][j-1]+a[i-1][j];
        }
            for(int m=0;m<a.length;m++){
                for(int j=0;j<a[m].length;j++)
                    System.out.print(" "+a[m][j]);
                System.out.println(" ");
            }
        
    }
}*/
/*class  me{
    private int name=3;
    public void show(){
       System.out.println(" "+this.getClass().getSuperclass().getName());
    }
    
}
class you extends me{
    private int name=2;
    public void show(){
       super.show();
    }
}
public class NewClass{
    public static void main(String[] args){
      you you1=new you();
      you1.show();
      me me1=new me();
      me1.show();
    }
}*/
/*class  me{
    private int name;
    public me(){
        System.out.println("me类无参数的构造函数被调用");
    }
    public me(int a){
        this.name=a;
        System.out.println("me类有参数的构造函数被调用");
    }
    public void show(){
       System.out.println(" "+this.name);
    }
    
}
class you extends me{
    private int name;
    public you(){
        super(3);
        System.out.println("you类的无参数构造函数被调用");
    }
    public you(int a){
        this.name=a;//super(1);
        System.out.println("you类的有参数构造函数被调用");
    }
    public void show(){
        super.show();
    }
}
public class NewClass{
    public static void main(String[] args){
      you you1=new you();
      you1.show();
      you you2=new you(1);
    }
}*/
/*class p{
    private int a;
    public p(){
        System.out.println("调用函数的无参数构造函数");
    }
    public p(int a){
        this();
        this.a=a;  
        System.out.println("调用函数的有参数构造函数");
    }    
}
public class NewClass{
    public static void main(String[] args){
        p p1=new p(1);
    }
}*/
    